var path = require("path");
var VueLoaderPlugin = require("vue-loader/lib/plugin");
module.exports = {
    mode:"development",
    entry:"./src/main.js",
    output:{
        path:path.resolve(__dirname,"./dist"),
        filename:"build.js"
    },
    module: {
        rules: [
            {test:/\.css$/,use:["style-loader","css-loader"]},
            {test:/\.vue$/,use:"vue-loader"},
            {test:/\.(ttf|eot|svg|woff|woff2)$/,use:'url-loader'},
        ]
    },
    plugins: [
        new VueLoaderPlugin()
    ]

}